﻿using System;

using System.Collections.Generic;
using System.Text;

namespace Silvermoon.Controls.Toolbars
{
    internal class MenuListView : ListView
    {
        public MenuListView()
            : base()
        {
            Squeeze = false;
        }

        protected override int GetMaxYOffset(bool overlap)
        {
            return Math.Max(0, VirtualHeight - Height);
        }

    }
}
